package com.kk.score.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kk.score.entity.vo.UserVo;
import com.kk.score.utils.PageUtils;
import com.kk.score.entity.UserEntity;
import com.kk.score.utils.R;
import org.apache.catalina.User;

import java.util.Map;

/**
 * 
 *
 * @author KK
 * @email 409592048@qq.com
 * @date 2022-11-02 12:28:00
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 登录
     * @param user
     * @return
     */
    Boolean login(UserVo user);

    /**
     * 批量删除部门下的用户
     * @param uids
     * @return
     */
    boolean deleteByDepartmentUids(String[] uids,Integer status);

    /**
     * 修改密码
     * @param user
     * @return
     */
    R changePassword(UserEntity user);
}

